package com.citywy.dao;

import com.citywy.domain.Account;

/**
 * 账户持久层接口
 */
public interface AccountDao {
    //根据ID查询账户
    Account findAccountById(int id);
    //根据名称查询账户
    Account findAccountByName(String name);
    //更新账户
    void updateAccount(Account account);
}
